package com.example.fastjson;

import java.io.Serializable;
import java.util.List;

public class JsonBean implements Serializable {

    private String name;

    private String url;

    private String page;

    private String isNonProfit;

    private Address address;

    private List<Object> links;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getIsNonProfit() {
        return isNonProfit;
    }

    public void setIsNonProfit(String isNonProfit) {
        this.isNonProfit = isNonProfit;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public List<Object> getLinks() {
        return links;
    }

    public void setLinks(List<Object> links) {
        this.links = links;
    }

    class Address implements Serializable {
        private String street;

        private String city;

        private String country;

        public String getStreet() {
            return street;
        }

        public void setStreet(String street) {
            this.street = street;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }
    }
}
